package com.ftg.learn.jdbc.chapter01.util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 通用类，用来声明表名与实体类名不相同的情况
 * @author kangjx
 * @date 2020-09-26
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyTableName {
    String value() default "";
}
